<ion-header>
    <ion-toolbar>
        <ion-title>你好，请登录</ion-title>
    </ion-toolbar>
</ion-header>

<ion-content class="ion-padding" style="z-index:101">

    <ion-img src="https://docs-demo.ionic.io/assets/madison.jpg"></ion-img>

    <ion-list>
        <ion-item>
            <ion-input placeholder="请输入账号" [(ngModel)]="username">
                <div slot="label">账号 <ion-text color="danger">*</ion-text></div>
            </ion-input>
        </ion-item>
        <ion-item>
            <ion-input placeholder="请输入密码" type="password" [(ngModel)]="password">
                <div slot="label">密码 <ion-text color="danger">*</ion-text></div>
            </ion-input>
        </ion-item>
        <ion-button expand="block" (click)="submitLogin()">登录</ion-button>
    </ion-list>
    
    <div class="reg-btn" (click)="goRigPage()">没有账号？点我注册</div>

</ion-content>